﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<Excell_On_Services.Models.LogOnModel>" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>Login System</title>
    <link rel="stylesheet" href="../../Content/css/reset.css" type="text/css" media="screen" />
	<link rel="stylesheet" href="../../Content/css/style.css" type="text/css" media="screen" />
	<link rel="stylessheet" href="../../Content/css/invalid.css" type="text/css" media="screen" />	

	<script type="text/javascript" src="../../Content/scripts/jquery-1.3.2.min.js"></script>
	<script type="text/javascript" src="../../Content/scripts/simpla.jquery.configuration.js"></script>
	<script type="text/javascript" src="../../Content/scripts/facebox.js"></script>
	<script type="text/javascript" src="../../Content/scripts/jquery.wysiwyg.js"></script>
</head>
<body id="login">
    <div id="login-wrapper" class="png_bg">
			<div id="login-top">
			
				<p>Excell-On Services Administrator</p>
				
				
			</div> <!-- End #logn-top -->
			<% using (Html.BeginForm()) { %>
            
			<div id="login-content">
                    <% if (Html.ValidationSummary(true, "Login was unsuccessful.") != null
                           && Html.ValidationSummary(true, "Login was unsuccessful.").ToString() != "")
                       {%>
                       <div class="notification information png_bg">
						
                            <%:Html.ValidationSummary(true, "Login was unsuccessful.")%>
						    <%: Html.ValidationMessageFor(m => m.UserName)%>
                            <div class="clear"></div>
                            <%: Html.ValidationMessageFor(m => m.Password)%>
                        </div>
                        <%} %>
					<p>
						<span class="lc_text_login"><%: Html.LabelFor(m => m.UserName) %></span>
                        <%: Html.TextBoxFor(m => m.UserName, new { @class = "text-input" })%>
                    </p>
                    <div class="clear"></div>
					<p>
						<span class="lc_text_login"><%: Html.LabelFor(m => m.Password) %></span>
						<%: Html.PasswordFor(m => m.Password, new { @class = "text-input" })%>
					</p>
					<div class="clear"></div>
					<p id="remember-password">
						<%: Html.CheckBoxFor(m => m.RememberMe, new {id="RememberMe" })%><%: Html.LabelFor(m => m.RememberMe) %>
					</p>
					<div class="clear"></div>
					<p>
						<input class="button" type="submit" value="Sign In" />
					</p>
        </div>
    <% } %>
    </div>
</body>
</html>
    

